<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var gf = {
            name: 'zhu',
            age: 18,
            height: '160cm',
            weight : 160,
        }
        console.log(gf.name);
        console.log(gf['name']);
        console.log(`我的女朋友名字是${gf.name} 身高${gf.height} 体重是${gf.weight} 年龄是${gf.age}`);
    </script>
</body>
</html>